#ifndef MYGUI_H
#define MYGUI_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui { class MyGUI; }
QT_END_NAMESPACE

class MyGUI : public QMainWindow
{
    Q_OBJECT

public:
    MyGUI(QWidget *parent = nullptr);
    ~MyGUI();
private slots:
    void loadFile();
    void startCalc();
    void saveFile();

//    void changedIuput();

private:
    Ui::MyGUI *ui;
    int Qstring2words(QString s, char* word_buf, char** words);
};
#endif // MYGUI_H
